package com.ruoyi.module.memberOrganizational.service;

import java.util.List;
import com.ruoyi.module.memberOrganizational.domain.MemberOrganizational;

/**
 * 组织架构Service接口
 * 
 * @author yqq
 * @date 2024-07-09
 */
public interface IMemberOrganizationalService 
{
    /**
     * 查询组织架构
     * 
     * @param organizationalId 组织架构主键
     * @return 组织架构
     */
    public MemberOrganizational selectMemberOrganizationalByOrganizationalId(Long organizationalId);

    /**
     * 查询组织架构列表
     * 
     * @param memberOrganizational 组织架构
     * @return 组织架构集合
     */
    public List<MemberOrganizational> selectMemberOrganizationalList(MemberOrganizational memberOrganizational);

    /**
     * 新增组织架构
     * 
     * @param memberOrganizational 组织架构
     * @return 结果
     */
    public int insertMemberOrganizational(MemberOrganizational memberOrganizational);

    /**
     * 修改组织架构
     * 
     * @param memberOrganizational 组织架构
     * @return 结果
     */
    public int updateMemberOrganizational(MemberOrganizational memberOrganizational);

    /**
     * 批量删除组织架构
     * 
     * @param organizationalIds 需要删除的组织架构主键集合
     * @return 结果
     */
    public int deleteMemberOrganizationalByOrganizationalIds(Long[] organizationalIds);

    /**
     * 删除组织架构信息
     * 
     * @param organizationalId 组织架构主键
     * @return 结果
     */
    public int deleteMemberOrganizationalByOrganizationalId(Long organizationalId);
}
